package com.ruibang.glass.produce.mapper;


import com.ruibang.glass.produce.domain.resp.MonitorInfo;
import com.ruibang.glass.produce.domain.resp.MonitorUpdate;
import com.ruibang.glass.produce.entity.MonitorPoint;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author 宋锦康
 */
@Mapper
public interface MonitorPointMapper extends CommonMapper<MonitorPoint> {

    void updateOrderNum(@Param("monitorId") String monitorId, @Param("orderNum") Integer orderNum);

    void updateUnit(MonitorUpdate monitorUpdate);

    List<MonitorInfo> getMonitorInfoByMonitorCode(@Param("codes") List<String> monitorCodes);
}
